/* =========================================================
   AG AGAPE TRUST
   NEWS & EVENTS PAGE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --news-maroon: #741b2a;
    --news-dark-maroon: #5b1420;
    --news-cream: #f8f5ed;
    --news-gold: #c7a96b;

    --news-white: #ffffff;
    --news-black: #1d1d1d;
    --news-text: #333333;
    --news-muted: #707070;

    --news-border: #e3ded3;

    --news-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);

    --news-radius: 14px;

}


/* =========================================================
   GLOBAL
========================================================= */

.news-container {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding-left: 30px;
    padding-right: 30px;

}


.news-container * {
    box-sizing: border-box;
}


.section-label {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--news-maroon);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


h1,
h2,
h3,
p {

    margin-top: 0;

}


a {

    text-decoration: none;

}

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.logo-text {
    margin-left: 18px;
}

.logo-text h2 {
    margin: 0;
    font-size: 32px;
    color: #741b2a;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 15px;
}

/* Navigation */

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #741b2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}
/*========================================
            MEGA MENU
========================================*/

.has-mega{
    position:relative;
}

/* Hide by default */

.mega-menu{

    position:absolute;

    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(20px);

    width: 1000px;
    max-width:92vw;

    background:#ffffff;

    display:grid;
    grid-template-columns:260px 1fr;

    gap:45px;

    padding:35px;

    border-radius:0 0 22px 22px;

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;

    transition:all .35s ease;

    z-index:999;
}
/*========================================
        RIGHT ALIGNED MEGA MENUS
========================================*/

.mega-right .mega-menu{

    left:auto;

    right:0;

    transform:translateY(20px);

}

.mega-right:hover .mega-menu{

    transform:translateY(0);

}

/* Show on hover */

.has-mega:hover .mega-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(0);

}

/*========================================
            LEFT COLUMN
========================================*/

.mega-links{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.mega-links a{

    text-decoration:none;

    color:#555;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    position:relative;

    padding-left:0;

}

.mega-links a::before{

    content:"";

    position:absolute;

    left:-14px;

    top:50%;

    width:6px;
    height:6px;

    background:#741B2A;

    border-radius:50%;

    transform:translateY(-50%) scale(0);

    transition:.3s;

}

.mega-links a:hover{

    color:#741B2A;

    padding-left:14px;

}

.mega-links a:hover::before{

    transform:translateY(-50%) scale(1);

}

/*========================================
            RIGHT CARD
========================================*/

.mega-card{

    display:flex;

    align-items:center;

    gap:30px;

}

.mega-card img{

    width:270px;

    height:270px;

    object-fit:cover;

    border-radius:18px;

}

.mega-text{

    flex:1;

}

.mega-text h3{

    font-family:"Playfair Display", serif;

    color:#741B2A;

    font-size:2.2rem;

    margin-bottom:15px;

}

.mega-text p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}
.mega-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    background:#741B2A;
    color:#ffffff !important;

    text-decoration:none;

    border:none;
    border-radius:40px;

    font-size:15px;
    font-weight:700;

    letter-spacing:.4px;

    box-shadow:0 8px 20px rgba(116,27,42,.25);

    transition:.35s ease;

}

.mega-btn:hover{

    background:#5d1622;

    color:#ffffff !important;

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(116,27,42,.35);

}

.mega-btn:visited,
.mega-btn:active{

    color:#ffffff !important;

}

/* =========================================================
   HERO
========================================================= */

.news-hero {

    position: relative;

    min-height: 470px;

    display: flex;

    align-items: center;

    background-image:
        url("../images/partner.png");

    background-size: cover;

    background-position: center;

    overflow: hidden;

}


.news-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(52, 10, 18, 0.88),
            rgba(92, 20, 32, 0.72),
            rgba(0, 0, 0, 0.25)
        );

}


.news-hero-content {

    position: relative;

    z-index: 2;

    padding-top: 70px;
    padding-bottom: 70px;

}


.news-hero-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--news-gold);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

}


.news-hero h1 {

    max-width: 750px;

    margin-bottom: 20px;

    color: var(--news-white);

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 600;

}


.news-hero p {

    max-width: 650px;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   INTRO
========================================================= */

.news-intro {

    padding: 90px 0 75px;

    background: var(--news-white);

    text-align: center;

}


.news-intro .news-container {

    max-width: 850px;

}


.news-intro h2 {

    margin-bottom: 20px;

    color: var(--news-black);

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.2;

}


.news-intro p {

    margin-bottom: 0;

    color: var(--news-muted);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   FEATURED NEWS
========================================================= */

.featured-news {

    padding: 40px 0 100px;

    background: var(--news-white);

}


.featured-wrapper {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    min-height: 500px;

    overflow: hidden;

    border-radius: var(--news-radius);

    background: var(--news-cream);

    box-shadow: var(--news-shadow);

}


/* IMAGE */

.featured-image {

    position: relative;

    min-height: 450px;

    overflow: hidden;

}


.featured-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;

}


.featured-wrapper:hover
.featured-image img {

    transform: scale(1.04);

}


.featured-badge {

    position: absolute;

    top: 24px;
    left: 24px;

    padding: 9px 15px;

    border-radius: 30px;

    background: var(--news-maroon);

    color: var(--news-white);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


/* CONTENT */

.featured-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 60px;

}


.news-meta {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 22px;

}


.news-category {

    color: var(--news-maroon);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.news-date {

    color: var(--news-muted);

    font-size: 13px;

}


.featured-content h2 {

    margin-bottom: 20px;

    color: var(--news-black);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

}


.featured-content p {

    max-width: 500px;

    margin-bottom: 30px;

    color: var(--news-muted);

    font-size: 16px;

    line-height: 1.8;

}


/* =========================================================
   BUTTON
========================================================= */

.news-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    padding: 14px 22px;

    border-radius: 5px;

    background: var(--news-maroon);

    color: var(--news-white);

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.news-button span {

    font-size: 18px;

    transition: transform 0.3s ease;

}


.news-button:hover {

    background: var(--news-dark-maroon);

    transform: translateY(-2px);

}


.news-button:hover span {

    transform: translateX(4px);

}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;

}


.section-heading h2 {

    margin-bottom: 0;

    color: var(--news-black);

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

}


.section-heading > p {

    max-width: 450px;

    margin-bottom: 4px;

    color: var(--news-muted);

    font-size: 16px;

    line-height: 1.7;

}


/* =========================================================
   UPCOMING EVENTS
========================================================= */

.upcoming-events {

    padding: 100px 0;

    background: var(--news-cream);

}


.events-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;

}


.event-card {

    overflow: hidden;

    border-radius: var(--news-radius);

    background: var(--news-white);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


.event-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10);

}


/* EVENT IMAGE */

.event-image {

    position: relative;

    height: 240px;

    overflow: hidden;

}


.event-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;

}


.event-card:hover
.event-image img {

    transform: scale(1.05);

}


/* EVENT DATE */

.event-date-box {

    position: absolute;

    left: 18px;
    bottom: 18px;

    width: 65px;

    padding: 10px 8px;

    border-radius: 8px;

    background: var(--news-white);

    text-align: center;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);

}


.event-day {

    display: block;

    color: var(--news-maroon);

    font-size: 25px;

    font-weight: 700;

    line-height: 1;

}


.event-month {

    display: block;

    margin-top: 5px;

    color: var(--news-muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* EVENT CONTENT */

.event-content {

    padding: 28px;

}


.event-category {

    color: var(--news-maroon);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.event-content h3 {

    margin: 10px 0 17px;

    color: var(--news-black);

    font-size: 22px;

    line-height: 1.35;

}


.event-info {

    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 17px;

    color: var(--news-muted);

    font-size: 13px;

}


.event-content p {

    margin-bottom: 20px;

    color: var(--news-muted);

    font-size: 14px;

    line-height: 1.7;

}


.event-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--news-maroon);

    font-size: 14px;

    font-weight: 700;

}


.event-link span {

    transition: transform 0.3s ease;

}


.event-link:hover span {

    transform: translateX(4px);

}


/* =========================================================
   LATEST NEWS
========================================================= */

.latest-news {

    padding: 110px 0;

    background: var(--news-white);

}


/* =========================================================
   FILTER
========================================================= */

.news-filter {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;

}


.filter-button {

    padding: 11px 20px;

    border: 1px solid var(--news-border);

    border-radius: 30px;

    background: var(--news-white);

    color: var(--news-muted);

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;

}


.filter-button:hover {

    border-color: var(--news-maroon);

    color: var(--news-maroon);

}


.filter-button.active {

    border-color: var(--news-maroon);

    background: var(--news-maroon);

    color: var(--news-white);

}


/* =========================================================
   NEWS GRID
========================================================= */

.news-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}


.news-card {

    overflow: hidden;

    border: 1px solid var(--news-border);

    border-radius: var(--news-radius);

    background: var(--news-white);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

}


.news-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08);

}


/* IMAGE */

.news-card-image {

    position: relative;

    height: 230px;

    overflow: hidden;

}


.news-card-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;

}


.news-card:hover
.news-card-image img {

    transform: scale(1.05);

}


.card-category {

    position: absolute;

    top: 18px;
    left: 18px;

    padding: 7px 12px;

    border-radius: 3px;

    background: var(--news-maroon);

    color: var(--news-white);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

}


/* CONTENT */

.news-card-content {

    padding: 27px;

}


.card-date {

    margin-bottom: 11px;

    color: var(--news-muted);

    font-size: 12px;

}


.news-card-content h3 {

    margin-bottom: 13px;

    color: var(--news-black);

    font-size: 21px;

    line-height: 1.35;

}


.news-card-content p {

    margin-bottom: 20px;

    color: var(--news-muted);

    font-size: 14px;

    line-height: 1.7;

}


.read-more {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--news-maroon);

    font-size: 14px;

    font-weight: 700;

}


.read-more span {

    transition: transform 0.3s ease;

}


.read-more:hover span {

    transform: translateX(4px);

}


/* =========================================================
   LOAD MORE
========================================================= */

.load-more-wrapper {

    display: flex;

    justify-content: center;

    margin-top: 55px;

}


.load-more-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 28px;

    border: 1px solid var(--news-maroon);

    border-radius: 5px;

    background: transparent;

    color: var(--news-maroon);

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease;

}


.load-more-button span {

    font-size: 17px;

}


.load-more-button:hover {

    background: var(--news-maroon);

    color: var(--news-white);

}


/* =========================================================
   CTA
========================================================= */

.news-cta {

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            var(--news-dark-maroon),
            var(--news-maroon)
        );

}


.cta-content {

    max-width: 800px;

    margin: 0 auto;

    text-align: center;

}


.cta-content .section-label {

    color: var(--news-gold);

}


.cta-content h2 {

    margin-bottom: 20px;

    color: var(--news-white);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

}


.cta-content p {

    max-width: 650px;

    margin: 0 auto 32px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;

    line-height: 1.8;

}


/* CTA BUTTONS */

.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 170px;

    padding: 14px 25px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.cta-button:hover {

    transform: translateY(-2px);

}


.cta-button.primary {

    background: var(--news-white);

    color: var(--news-maroon);

}


.cta-button.primary:hover {

    background: var(--news-cream);

}


.cta-button.secondary {

    border: 1px solid rgba(255, 255, 255, 0.7);

    color: var(--news-white);

}


.cta-button.secondary:hover {

    background: rgba(255, 255, 255, 0.1);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .featured-wrapper {

        grid-template-columns: 1fr;

    }


    .featured-image {

        min-height: 380px;

    }


    .featured-content {

        padding: 45px;

    }


    .events-grid,
    .news-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 750px) {

    .news-container {

        padding-left: 22px;
        padding-right: 22px;

    }


    .news-hero {

        min-height: 400px;

    }


    .news-hero-content {

        padding-top: 55px;
        padding-bottom: 55px;

    }


    .news-hero h1 {

        font-size: 48px;

    }


    .news-hero p {

        font-size: 16px;

    }


    .news-intro {

        padding: 70px 0 50px;

    }


    .featured-news {

        padding-bottom: 70px;

    }


    .featured-content {

        padding: 35px 28px;

    }


    .section-heading {

        display: block;

    }


    .section-heading > p {

        margin-top: 15px;

    }


    .upcoming-events,
    .latest-news {

        padding: 75px 0;

    }


    .events-grid,
    .news-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 480px) {

    .news-container {

        padding-left: 17px;
        padding-right: 17px;

    }


    .news-hero {

        min-height: 360px;

    }


    .news-hero h1 {

        font-size: 40px;

    }


    .news-hero p {

        font-size: 15px;

        line-height: 1.7;

    }


    .featured-image {

        min-height: 270px;

    }


    .featured-content {

        padding: 30px 22px;

    }


    .featured-content h2 {

        font-size: 30px;

    }


    .news-meta {

        flex-direction: column;

        align-items: flex-start;

        gap: 6px;

    }


    .news-filter {

        gap: 7px;

    }


    .filter-button {

        padding: 9px 14px;

        font-size: 12px;

    }


    .event-image,
    .news-card-image {

        height: 210px;

    }


    .event-content,
    .news-card-content {

        padding: 23px;

    }


    .cta-buttons {

        flex-direction: column;

    }


    .cta-button {

        width: 100%;

    }

}
.site-footer {
  background: linear-gradient(180deg, #5A0F0F 0%, #3D0808 100%); /* AUR DARK KIYA */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== TOP SECTION ========== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* IMPORTANT: upar se align */
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LEFT SIDE */
.footer-brand {
  flex: 2;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.brand-header img {
  width: 110px; /* LOGO BARA */
  height: 110px;
  object-fit: contain;
  flex-shrink: 0; /* logo squeeze na ho */
}

.brand-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-title span {
  font-size: 13px;
  color: #FFD700;
  font-weight: 500;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  text-align: left;
}

/* RIGHT SIDE - YEHI THEEK KARNA THA */
.footer-connect {
  flex: 1;
  display: flex;
  flex-direction: column; /* social upar newsletter neeche */
  gap: 35px;
  text-align: left;
  min-width: 300px; /* taake squeeze na ho */
}

.social-area h3,
.newsletter h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.social-icons {
  display: flex; /* ROW ME RAHE */
  flex-direction: row; /* IMPORTANT */
  justify-content: flex-start;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #5A0F0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
  flex-shrink: 0;
}

.social-icons a:hover {
  background: #FFD700;
  transform: translateY(-3px);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.newsletter input {
  width: 100%;
  max-width: 280px;
  padding: 11px 16px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.newsletter button {
  padding: 11px 28px;
  border-radius: 25px;
  border: none;
  background: #FFD700;
  color: #5A0F0F;
  font-weight: 700;
  cursor: pointer;
}

/* ========== MIDDLE ========== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #FFD700;
}

.contact-list li {
  display: flex;
  gap: 10px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ========== BOTTOM ========== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .brand-header {
    justify-content: center;
  }
  .footer-connect {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .newsletter form {
    align-items: center;
  }
}
